package com.example.demo.controller;

import com.example.demo.mapper.AaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <h3>springboot-shardingsphere</h3>
 * <p></p>
 *
 * @author : zhengyue
 * @date : 2020-08-23 18:19
 **/
@RestController
public class AaController {
    @Autowired
    AaMapper aaMapper;

    @GetMapping("hello")
    public String hello() {
        return aaMapper.selectList(null).toString();
    }
}
